package com.itheima.mall.mapper.smsMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.mall.commons.R;
import com.itheima.pojo.sms.SmsCouponProductCategoryRelation;
import com.itheima.pojo.sms.SmsFlashPromotion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;


@Mapper
public interface SmsFlashPromotionMapper extends BaseMapper<SmsFlashPromotion> {
    //修改上下线状态
    @Update("update SmsCouponHistory set status='status' where id=#{id}")
    R updateStatus(Integer status, Integer id);
}
